<?php

namespace app\common\model\mysql;


class OrderModel extends BaseModel
{
    protected $table = 'pro_order';

    public function user()
    {
        return $this->hasOne(UserModel::class, 'id', 'user_id');
    }


    public function project()
    {
        return $this->hasOne(ProjectModel::class, 'id', 'project_id');
    }
}